home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / stalker.gsh < prev    next >
Text File  |  2000-08-22  |  1KB  |  52 lines

  1. // defines Stalker
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_STALKER_GSH
  8. #define INCLUDED_STALKER_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13. #include "lasers.gsh"
  14. #include "stalker_frag.gsh"
  15.  
  16. hierarchy Hcy_Stalker
  17. {
  18.     file "units\stalker.RIF"
  19.     name "stalker"
  20.     hotspot "dumflash"
  21.     alternate hotspot "dumflash L"
  22. }
  23.  
  24. character Chr_Stalker : Chr_DefaultBaddie
  25. {
  26.     turning speed   0.3    // this is in revolutions per second
  27.     walking speed   1.0    // this is in animation cycles per second
  28.     weapon            enemy laser
  29.     strength        10    // initial strength points
  30.     aim             1    // how many degrees off target he can be at most
  31.     sight angle        80    // in degrees
  32.     sight range     8    // in metres
  33.     hearing range    20    // in metres
  34.     aggression        0.9    // from 0 to 1
  35.     radius             2.0    // in metres
  36.     description        stalker description
  37. }
  38.  
  39. role Rol_Stalker : Rol_DefaultRobot
  40. {
  41.     shape            Hcy_Stalker
  42.     character        Chr_Stalker
  43.     identifier        "stalker"
  44.     destructibility    Frg_Stalker
  45.     ai                bot
  46. }
  47.  
  48. ////////////////////////////////////////////////////////////////////////////////////
  49.  
  50. // end wrapper - for preventing multiple or recursive inclusions
  51. #endif // !INCLUDED_STALKER_GSH
  52.